﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Authorization.Domain.Model.User
{
    /// <summary>
    /// 自我评价
    /// </summary>
    [Table("SelfEvaluation")]
    public class SelfEvaluation
    {
        [Key]
        ///主键
        public int SelfEvaluationId { get; set; }

        /// <summary>
        /// 用户主键
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 个人描述
        /// </summary>

        [Column(TypeName = "nvarchar(100)")]
        [MaxLength(100)]
        public DateTime? SelfEvaluationDesc { get; set; }

        /// <summary>
        /// 附件上传
        /// </summary>
        public string Attachments { get; set; }
    }
}
